<template>
	<view class="template-index tn-safe-area-inset-bottom">
		<!-- 顶部自定义导航 -->
		<tn-nav-bar fixed alpha :isBack="false" :bottomShadow="false">
			<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
				<!-- 图标logo  @click="tn('/homePages/about')"-->
				<view class="custom-nav__back">
					<!-- https://resource.tuniaokj.com/images/logo/logo2.png -->
					<view class="logo-pic tn-shadow-blur" style="background-image:url('../../static/image.jpeg')">
						<view class="logo-image">
							<image src="../../static/image.jpeg" mode=""></image>
						</view>
					</view>
					<!-- <view class="tn-icon-left"></view> -->
				</view>
				<!-- 搜索框 -->
				<view class="custom-nav__search tn-flex tn-flex-col-center tn-flex-row-center"
					@click="tn('/homePages/search')">
					<view class="custom-nav__search__box tn-flex tn-flex-col-center tn-flex-row-left"
						style="background-color: rgba(230,230,230,0.3);">
						<view class="custom-nav__search__icon tn-icon-search tn-color-white"></view>
						<view class="custom-nav__search__text tn-padding-left-xs tn-color-white">搜索动态</view>
					</view>
				</view>
			</view>
		</tn-nav-bar>

		<swiper class="card-swiper" :circular="true" :autoplay="true" duration="500" interval="8000"
			@change="cardSwiper">
			<swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur==index?'cur':''">
				<view class="swiper-item image-banner">
					<image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
				</view>
				<view class="swiper-item-text">
					<view class="tn-text-bold tn-color-white" style="font-size: 90rpx;">{{item.title}}</view>
					<view class="tn-color-white tn-padding-top" style="font-size: 30rpx;">{{item.name}}</view>
					<view class="tn-text-sm tn-text-bold tn-color-white tn-padding-top-sm tn-padding-bottom-sm">
						{{item.text}}</view>
				</view>
			</swiper-item>
		</swiper>
		<view class="indication">
			<block v-for="(item,index) in swiperList" :key="index">
				<view class="spot" :class="cardCur==index?'active':''"></view>
			</block>
		</view>


		<!-- 方式12 start-->
		<!--  @click="tn('/homePages/hot')" -->
		<view v-if="isAndroid" class="tn-flex tn-margin-xs tn-padding-top-sm">
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/businessCard')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-purplered--light tn-color-purplered">
						<view class="tn-icon-fire-fill tn-three"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">我的名片</text>
					</view>
				</view>
			</view>
			<!--  @click="tn('/preferredPages/classify')" -->
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/edit')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-indigo--light tn-color-indigo">
						<view class="tn-icon-flower-fill tn-three"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">发布动态</text>
					</view>
				</view>
			</view>
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/khList')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-purple--light tn-color-purple">
						<view class="tn-icon-identity-fill tn-three"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">合作客户</text>
					</view>
				</view>
			</view>
			<!--  @click="tn('/preferredPages/website')" setCur(1,2)-->
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/list')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-orange--light tn-color-orange">
						<view class="tn-icon-star-fill tn-three"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">生意圈</text>
					</view>
				</view>
			</view>
		</view>
		<!-- 方式12 end-->

		<!-- 方式12 start-->
		<view v-else class="tn-flex tn-margin-xs tn-padding-top-sm">
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/businessCard')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-purplered--light tn-color-purplered">
						<view class="tn-icon-fire-fill"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">我的名片</text>
					</view>
				</view>
			</view>
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/edit')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-indigo--light tn-color-indigo">
						<view class="tn-icon-flower-fill"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">发布动态</text>
					</view>
				</view>
			</view>
			<!--  @click="tn('/circlePages/business')" -->
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/khList')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-purple--light tn-color-purple">
						<view class="tn-icon-identity-fill"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">合作客户</text>
					</view>
				</view>
			</view>
			<!-- setCur(1,2) -->
			<view class="tn-flex-1 tn-padding-sm tn-margin-xs tn-radius" @click="tn('/circlePages/list')">
				<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
					<view
						class="icon12__item--icon tn-flex tn-flex-row-center tn-flex-col-center tn-shadow-blur tn-main-gradient-orange--light tn-color-orange">
						<view class="tn-icon-star-fill"></view>
					</view>
					<view class="tn-color-black tn-text-center">
						<text class="tn-text-ellipsis">生意圈</text>
					</view>
				</view>
			</view>
		</view>
		<!-- 方式12 end-->

		<!-- banner start-->
		<!-- <view class="tn-flex tn-flex-wrap tn-padding-xs" @click="tn('/circlePages/advertise')">
      <view class="" style="width: 100%;">
        <view class="image-piccapsule tn-shadow-blur" style="background-image:url('https://resource.tuniaokj.com/images/capsule-banner/banner-tnmb.png');">
           <view class="image-capsule">
           </view>
         </view>  
      </view>  
    </view> -->
		<!-- banner end-->


		<!--    <view class="tn-margin-top">
      <view class="nav_title--wrap">
        <view class="nav_title tn-cool-bg-color-5">
          <text class="tn-icon-copy tn-padding-right-sm"></text>
          推 / 荐 / 博 / 主
          <text class="tn-icon-copy tn-padding-left-sm"></text>
        </view>
      </view>
    </view> -->

		<view class="tn-flex tn-flex-row-between tn-margin-top" @click="tn('/circlePages/khList')">
			<view class="justify-content-item tn-margin tn-text-bold tn-text-xxl">
				推荐名片
			</view>
			<view class="justify-content-item tn-margin tn-text-lg tn-color-grey">
				<text class="tn-padding-xs">全部</text>
				<text class="tn-icon-topics"></text>
			</view>
		</view>

		<swiper class="card-swiper2 tn-margin-top-sm" :circular="true" :autoplay="false" duration="500" interval="5000"
			@change="resume">
			<swiper-item v-for="(item,index) in resumeList" :key="index" :class="cardCur2==index?'cur':''"
				@click="tn('/circlePages/businessCard?id='+item.mpiid)">
				<!-- <view class="swiper-item image-banner">
          <image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
        </view> -->
				<view class="swiper-item1 image-banner tn-shadow-blur"
					:style="'background-image:url('+ item.url + ');width: 660rpx;height: 100%;background-size: cover;border-radius: 15rpx;'">
				</view>
				<view class="swiper-item2 image-banner tn-shadow-blur"
					:style="'background-image:url('+ item.tximg +');width: 120rpx;height: 120rpx;background-size: cover;'">
				</view>
				<view class="swiper-item-text tn-text-shadow-indigo">
					<view class="tn-text-bold tn-color-blue--dark" style="width:500rpx; font-size: 45rpx;">{{item.qymc}}
					</view>
					<view class="tn-color-blue--dark tn-padding-top-sm">{{item.xm}}</view>
					<view class="tn-flex tn-padding-top-xl" style="margin-left: -50rpx;padding-top: 30rpx;">
						<view class="tn-flex-1 tn-padding-sm tn-margin-right">
							<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
								<view class="">
									<view class="tn-text-xxl tn-color-blue">{{item.renqi}}</view>
								</view>
								<view class="tn-margin-top-xs tn-color-grey tn-text-df tn-text-center">
									<text class="tn-icon-fire"></text>
									<text class="tn-padding-left-xs">人气</text>
								</view>
							</view>
						</view>
						<view class="tn-flex-1 tn-padding-sm tn-margin-left tn-margin-right">
							<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
								<view class="">
									<view class="tn-text-xxl tn-color-orange">{{item.fenxiang}}</view>
								</view>
								<view class="tn-margin-top-xs tn-color-grey tn-text-df tn-text-center">
									<text class="tn-icon-share-circle"></text>
									<text class="tn-padding-left-xs">分享</text>
								</view>
							</view>
						</view>
						<view class="tn-flex-1 tn-padding-sm tn-margin-left">
							<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center">
								<view class="">
									<view class="tn-text-xxl tn-color-red">{{item.zan}}</view>
								</view>
								<view class="tn-margin-top-xs tn-color-grey tn-text-df tn-text-center">
									<text class="tn-icon-like"></text>
									<text class="tn-padding-left-xs">爱心</text>
								</view>
							</view>
						</view>
					</view>
				</view>
			</swiper-item>
		</swiper>
		<!--    <view class="indication">
        <block v-for="(item,index) in resumeList" :key="index">
            <view class="spot" :class="cardCur==index?'active':''"></view>
        </block>
    </view> -->

		<view class="tn-flex tn-flex-row-between tn-margin-top">
			<view class="justify-content-item tn-margin tn-text-bold tn-text-xl">
				精选圈子
			</view>
			<view class="justify-content-item tn-margin tn-text-lg tn-color-grey" @click="tn('/circlePages/list')">
				<text class="tn-padding-xs">全部</text>
				<text class="tn-icon-topics"></text>
			</view>
		</view>

		<view class="tn-strip-bottom">
			<!-- 方式16 start-->
			<view class="tn-flex tn-flex-wrap tn-margin-bottom">
				<block v-for="(item, index) in bloggerList" :key="index">
					<view class="" style="width: 33.3%;" @click="tn('/circlePages/group?id='+item.iid)">
						<view class="tn-flex tn-flex-direction-column tn-flex-row-center tn-flex-col-center ">
							<view class="tn-radius tn-padding-sm">
								<view class="image-pic" :style="'background-image:url('+ item.quntp +')'">
									<view class="image-circle">
									</view>
								</view>
								<view class="tn-text-center tn-text-bold tn-padding-top-xs">{{item.qunbt}}</view>
								<view class="tn-text-center tn-text-xs tn-color-gray--dark tn-padding-top-xs">
									{{item.qunrs}}</view>
							</view>
						</view>
					</view>
				</block>
			</view>
			<!-- 方式16 end-->
		</view>

		<view class="tn-flex tn-flex-direction-column tn-margin-top-sm tn-margin-bottom">

			<!-- 图文信息 -->
			<block v-for="(item,index) in content">
				<view class="blogger__item" :key="index">
					<view class="blogger__author tn-flex tn-flex-row-between tn-flex-col-center">
						<view class="justify__author__info">
							<view class="tn-flex tn-flex-row-center">
								<view class="tn-flex tn-flex-row-center tn-flex-col-center"
									@click.stop="tn('/circlePages/businessCard?id='+item.mpiid)">
									<view class="">
										<tn-avatar class="" shape="circle" :src="item.userAvatar" size="lg">
										</tn-avatar>
									</view>
									<view class="tn-padding-right tn-text-ellipsis">
										<view class="tn-padding-right tn-padding-left-sm tn-text-bold tn-text-lg">
											{{ item.userName }}</view>
										<view
											class="tn-padding-right tn-padding-left-sm tn-padding-top-xs tn-color-gray">
											{{ item.date }}</view>
									</view>
								</view>
							</view>
						</view>
						<view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
							<!-- 为什么不放关注按钮，因为快餐文化的世界，关注按钮放在外面没必要 -->
							<text class="tn-icon-more-vertical tn-color-gray tn-text-bold tn-text-xxl"></text>
						</view>
					</view>

					<view
						class="blogger__desc tn-margin-top-sm tn-margin-bottom-sm tn-text-justify tn-flex-col-center tn-flex-row-left"
						@click="tn('/circlePages/details?iid='+item.iid)">
						<view v-for="(label_item,label_index) in item.label" :key="label_index"
							class="blogger__desc__label tn-float-left tn-margin-right tn-bg-gray--light tn-round tn-text-sm tn-text-bold">
							<text class="blogger__desc__label--prefix">#</text>
							<text class="tn-text-df">{{ label_item }}</text>
						</view>
						<!-- 不用限制长度了，因为发布的时候限制长度了-->
						<text v-if="!item.label || item.label.length < 4"
							class="blogger__desc__content tn-flex-1 tn-text-justify tn-text-df">{{ item.desc }}</text>
					</view>

					<!-- 内容太多疲劳了-->
					<!-- <view
	        v-if="item.content"
	        class="blogger__content"
	        :id="`blogger__content--${index}`"
	      >
	        <view
	          class="blogger__content__data clamp-text-2">
	          {{ item.content }}
	        </view>
	      </view> -->

					<block v-if="item.mainImage">
						<view v-if="[1,2,4].indexOf(item.mainImage.length) != -1" class="tn-padding-top-xs"
							@click="tn('/circlePages/details?iid='+item.iid)">
							<image v-for="(image_item,image_index) in item.mainImage" :key="image_index"
								class="blogger__main-image" :class="{
	              'blogger__main-image--1 tn-margin-bottom-sm': item.mainImage.length === 1,
	              'blogger__main-image--2 tn-margin-right-sm tn-margin-bottom-sm': item.mainImage.length === 2 || item.mainImage.length === 4
	            }" :src="image_item" mode="aspectFill"></image>
						</view>
						<view v-else class="tn-padding-top-xs" @click="tn('/circlePages/details?iid='+item.iid)">
							<tn-grid hoverClass="none" :col="3">
								<block v-for="(image_item,image_index) in item.mainImage" :key="image_index">
									<!-- #ifndef MP-WEIXIN -->
									<tn-grid-item style="width: 30%;margin: 10rpx;">
										<image class="blogger__main-image blogger__main-image--3" :src="image_item"
											mode="aspectFill"></image>
									</tn-grid-item>
									<!-- #endif-->
									<!-- #ifdef MP-WEIXIN -->
									<tn-grid-item style="width: 30%;margin: 10rpx;">
										<image class="blogger__main-image blogger__main-image--3" :src="image_item"
											mode="aspectFill"></image>
									</tn-grid-item>
									<!-- #endif-->
								</block>
							</tn-grid>
						</view>
					</block>

					<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs">
						<view class="justify-content-item tn-color-gray tn-text-center">
							<view style="margin-right: 10rpx;margin-left: 20rpx;">
								<tn-avatar-group :lists="item.viewUser.latestUserAvatar" size="sm"></tn-avatar-group>
							</view>
							<!-- <text class="tn-color-gray">{{ item.viewUser.viewUserCount }}人</text> -->
						</view>
						<view class="justify-content-item tn-flex tn-flex-col-center">
							<view class="justify-content-item tn-flex tn-flex-col-center">
								<button type="default" open-type="share" class="shareBtn" :data-id="item.iid"
									data-type="dongtai" @click.stop="">
									<text class="blogger__count-icon tn-icon-share"></text>
								</button>
								<!-- <text class="tn-padding-right">{{ item.collectionCount }}</text> -->
								<text class="blogger__count-icon tn-icon-message"></text>
								<text class="tn-padding-right">{{ item.commentCount }}</text>
								<text class="blogger__count-icon tn-icon-like" @click.stop="dianzan(item)"></text>
								<text class="">{{ item.likeCount }}</text>
								<!-- <button type="default" open-type="share" class="shareBtn" :data-id="item.iid"
									data-type="dongtai" @click.stop="">
									<text class="blogger__count-icon tn-icon-share"></text>
								</button> -->
							</view>
						</view>
					</view>
				</view>

				<!-- 边距间隔 -->
				<view class="tn-strip-bottom" v-if="index != content.length - 1"></view>
			</block>

			<!-- 边距间隔 -->
			<view class="tn-strip-bottom"></view>

		</view>


		<view class='tn-tabbar-height'></view>

	</view>
</template>

<script>
	import Tools from '../../tools/config.js'
	import template_page_mixin from '@/libs/mixin/template_page_mixin.js'
	export default {
		name: 'Index',
		mixins: [template_page_mixin],
		data() {
			return {
				cardCur: 0,
				isAndroid: true,
				swiperList: [],
				cardCur2: 0,
				resumeList: [
					// {
					//        id: 0,
					//        type: 'image',
					//        title: '徐圆圆',
					//        name: 'UI设计师',
					//        hot: '1.29W',
					//        share: '216',
					//        love: '962',
					//        avatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
					//        url: 'https://resource.tuniaokj.com/images/resume/resume-bg.jpg',
					//      }, {
					//        id: 1,
					//        type: 'image',
					//        title: '图鸟北北',
					//        name: 'UI设计师',
					//        hot: '964',
					//        share: '94',
					//        love: '186',
					//        avatar: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg',
					//        url: 'https://resource.tuniaokj.com/images/resume/resume-bg2.jpg',
					//      }, {
					//        id: 2,
					//        type: 'image',
					//        title: '图鸟西西',
					//        name: '高级前端',
					//        hot: '3.26K',
					//        share: '146',
					//        love: '379',
					//        avatar: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg',
					//        url: 'https://resource.tuniaokj.com/images/resume/resume-bg.jpg',
					//      }, {
					//        id: 3,
					//        type: 'image',
					//        title: '图鸟南南',
					//        name: '项目经理',
					//        hot: '6.32K',
					//        share: '133',
					//        love: '432',
					//        avatar: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg',
					//        url: 'https://resource.tuniaokj.com/images/resume/resume-bg2.jpg',
					//      }, {
					//        id: 4,
					//        type: 'image',
					//        title: '图鸟猪猪',
					//        name: '纯打杂',
					//        hot: '8.65K',
					//        share: '321',
					//        love: '886',
					//        avatar: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg',
					//        url: 'https://resource.tuniaokj.com/images/resume/resume-bg.jpg',
					//      },
				],

				tuniaoData: [{
						title: 'UI设计',
						icon: 'image-text-fill',
						color: '#F33F5A',
						value: '前往咨询'
					},
					{
						title: '小程序',
						icon: 'data-fill',
						color: '#FFC32E',
						value: '前往咨询'
					},
					{
						title: '前端开发',
						icon: 'statistics-fill',
						color: '#954FF6',
						value: '前往咨询'
					},
					{
						title: '其他业务',
						icon: 'bankcard-fill',
						color: '#5177EE',
						value: '前往咨询'
					}
				],
				bloggerList: [
					// {
					//        id: 0,
					//        type: 'image',
					//        name: 'UI设计',
					//        text: '629人关注',
					//        url: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
					//      }, {
					//        id: 1,
					//        type: 'image',
					//        name: '前端开发',
					//        text: '688人关注',
					//        url: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg',
					//      }, {
					//        id: 2,
					//        type: 'image',
					//        name: '校园生活',
					//        text: '552人关注',
					//        url: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg',
					//      }, {
					//        id: 3,
					//        type: 'image',
					//        name: '户外摄影',
					//        text: '105人关注',
					//        url: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg',
					//      }, {
					//        id: 4,
					//        type: 'image',
					//        name: '电影点评',
					//        text: '387人关注',
					//        url: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg',
					//      }, {
					//        id: 5,
					//        type: 'image',
					//        name: '热血动漫',
					//        text: '643人关注',
					//        url: 'https://resource.tuniaokj.com/images/blogger/content_1.jpeg',
					//      },
				],
				// 内容默认隐藏显示的高度
				contentHideShowHeight: 0,
				content: [
					// {
					//   userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg',
					//   userName: '图鸟北北',
					//   date: '2022年5月20日',
					//   label: ['开源','创意','UI框架'],
					//   desc: '开源可商用组件，助你开发酷炫UI一臂之力',
					//   content: '基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了',
					//   viewUser: {
					//     latestUserAvatar: [
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//     ],
					//     viewUserCount: 62
					//   },
					//   collectionCount: 439,
					//   commentCount: 46,
					//   likeCount: 83
					// },
					// {
					//   userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg',
					//   userName: '图鸟北北',
					//   date: '2022年5月20日',
					//   label: ['开源','创意','UI框架'],
					//   desc: '开源可商用组件，助你开发酷炫UI一臂之力',
					//   content: '基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了',
					//   mainImage:[
					//     'https://resource.tuniaokj.com/images/blogger/content_1.jpeg'
					//   ],
					//   viewUser: {
					//     latestUserAvatar: [
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//     ],
					//     viewUserCount: 12
					//   },
					//   collectionCount: 902,
					//   commentCount: 64,
					//   likeCount: 83
					// },
					// {
					//   userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg',
					//   userName: '图鸟北北',
					//   date: '2022年5月20日',
					//   label: [],
					//   desc: '',
					//   content: '',
					//   mainImage:[
					//     'https://resource.tuniaokj.com/images/shop/computer2.jpg',
					//     'https://resource.tuniaokj.com/images/shop/prototype2.jpg',
					//   ],
					//   viewUser: {
					//     latestUserAvatar: [
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//     ],
					//     viewUserCount: 56
					//   },
					//   collectionCount: 431,
					//   commentCount: 26,
					//   likeCount: 84
					// },
					// {
					//   userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg',
					//   userName: '图鸟北北',
					//   date: '2022年5月20日',
					//   label: ['开源','创意'],
					//   desc: '开源可商用组件',
					//   content: '基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了 基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了',
					//   mainImage:[
					//     'https://resource.tuniaokj.com/images/swiper/swiper2.jpg',
					//     'https://resource.tuniaokj.com/images/swiper/swiper3.jpg',
					//     'https://resource.tuniaokj.com/images/swiper/swiper4.jpg',
					//   ],
					//   viewUser: {
					//     latestUserAvatar: [
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//     ],
					//     viewUserCount: 231
					//   },
					//   collectionCount: 780,
					//   commentCount: 89,
					//   likeCount: 82
					// },
					// {
					//   userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
					//   userName: '图鸟北北',
					//   date: '2022年5月20日',
					//   label: ['开源','链接'],
					//   desc: 'https://www.yuque.com/tuniao',
					//   mainImage:[
					//     'https://resource.tuniaokj.com/images/shop/watch1.jpg',
					//     'https://resource.tuniaokj.com/images/shop/watch2.jpg',
					//     'https://resource.tuniaokj.com/images/shop/pillow2.jpg',
					//     'https://resource.tuniaokj.com/images/shop/pillow.jpg',
					//   ],
					//   viewUser: {
					//     latestUserAvatar: [
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//     ],
					//     viewUserCount: 28
					//   },
					//   collectionCount: 432,
					//   commentCount: 33,
					//   likeCount: 12
					// },
					// {
					//   userAvatar: 'https://resource.tuniaokj.com/images/blogger/content_1.jpeg',
					//   userName: '图鸟北北',
					//   date: '2022年5月20日',
					//   label: ['开源','创意'],
					//   desc: '开源可商用组件',
					//   mainImage:[
					//     'https://resource.tuniaokj.com/images/blogger/y11.jpg',
					//     'https://resource.tuniaokj.com/images/blogger/y33.jpg',
					//     'https://resource.tuniaokj.com/images/blogger/y22.jpg',
					//     'https://resource.tuniaokj.com/images/blogger/y44.jpg',
					//     'https://resource.tuniaokj.com/images/blogger/y55.jpg',
					//   ],
					//   viewUser: {
					//     latestUserAvatar: [
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//       {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//     ],
					//     viewUserCount: 65
					//   },
					//   collectionCount: 265,
					//   commentCount: 22,
					//   likeCount: 62
					// }
				],
			}
		},
		mounted(options) {
			this.getswiperList();
			this.gettuimpList();
			this.gettuiqunList();
			this.gettagList();
			// setTimeout(() => {
			//   this.getswiperList();
			// }, 1500)

			// uni.showModal({
			// 	title:'11111',
			// 	showCancel:false
			// })
			//this.initswiperList()
		},
		created() {
			const systemInfo = uni.getSystemInfoSync()
			if (systemInfo.system.toLocaleLowerCase().includes('ios')) {
				this.isAndroid = false
			} else {
				this.isAndroid = true
			}
		},
		methods: {
			initData() {
				this.gettuimpList();
				this.gettuiqunList();
				this.gettagList();
			},
			setCur(type, param) {
				this.$emit('setCurrent', {
					type: type,
					param: param
				})
			},
			// cardSwiper
			cardSwiper(e) {
				this.cardCur = e.detail.current
			},
			// resume
			resume(e) {
				this.cardCur2 = e.detail.current
			},
			// 跳转
			tn(e) {
				uni.navigateTo({
					url: e,
				});
			},
			initswiperList() {
				uni.showModal({
					title: '22222' + this.swiperList.length,
					showCancel: false
				})
				this.swiperList.forEach((item, index) => {
					// 是否需要隐藏内容
					item.hideContent = false
					// 显示所有内容
					item.showAllContent = false
					// 内容容器的实际高度
					item.contentContainerHeight = 0
					// 内容容器是否初始化完成
					item.contentContainerInit = false
					uni.showModal({
						title: '33333',
						showCancel: false
					})
					this.$set(this.swiperList, index, item)
				})
			},
			getswiperList() {
				let that = this
				uni.request({
					url: Tools.host + '/wshly.ashx',
					method: 'POST',
					data: {
						'lx': 'getswiperList',
						'openid': ''
					},
					success: (res) => {
						//成功
						console.log(res.data.data)
						if (res.data.return_code == 1) {
							var thejson = JSON.parse(res.data.data)
							that.swiperList = thejson
						}
						// uni.showModal({
						// 	title:'22222'+this.swiperList.length+'|'+that.swiperList.length,
						// 	showCancel:false
						// })
						//this.$forceUpdate()
						// 		that.swiperList=[
						// {
						//   "id": 0,
						//   "type": "image",
						//   "title": "",
						//   "name": "",
						//   "text": "",
						//   "url": "https://resource.tuniaokj.com/images/swiper/adno4.jpg"
						// }
						// ]
						//JSON.parse(JSON.stringify(res.data.records));
						// that.swiperList.forEach((item, index) => {
						// 	// 是否需要隐藏内容
						// 	item.hideContent = false
						// 	// 显示所有内容
						// 	item.showAllContent = false
						// 	// 内容容器的实际高度
						// 	item.contentContainerHeight = 0
						// 	// 内容容器是否初始化完成
						// 	item.contentContainerInit = false
						// 	uni.showModal({
						// 		title:'33333',
						// 		showCancel:false
						// 	})
						// 	this.$set(this.swiperList, index, item)
						// })
						// 		that.swiperList=[
						// {
						//   "id": 0,
						//   "type": "image",
						//   "title": "",
						//   "name": "",
						//   "text": "",
						//   "url": "https://resource.tuniaokj.com/images/swiper/adno4.jpg"
						// }
						// ]
					},
					fail: (res) => {
						console.log('失败' + res)
					}
				});
			},
			gettuimpList() {
				let that = this
				let theopenid = uni.getStorageSync('openid')
				let theunionid = uni.getStorageSync('unionid')
				uni.request({
					url: Tools.host + '/wshly.ashx',
					method: 'POST',
					data: {
						'lx': 'mingpian_tui',
						'openid': theopenid,
						'unionid': theunionid,
					},
					success: (res) => {
						//成功
						console.log(res.data.data)
						if (res.data.return_code == 1) {
							var thejson = JSON.parse(res.data.data)
							that.resumeList = thejson
						}
					},
					fail: (res) => {
						console.log('失败' + res)
					}
				});
			},
			gettuiqunList() {
				let that = this
				let theopenid = uni.getStorageSync('openid')
				let theunionid = uni.getStorageSync('unionid')
				uni.request({
					url: Tools.host + '/wshly.ashx',
					method: 'POST',
					data: {
						'lx': 'qun_tui',
						'openid': theopenid,
						'unionid': theunionid,
					},
					success: (res) => {
						//成功
						console.log(res.data.data)
						if (res.data.return_code == 1) {
							var thejson = JSON.parse(res.data.data)
							that.bloggerList = thejson
						}
					},
					fail: (res) => {
						console.log('失败' + res)
					}
				});
			},
			gettagList() {

				let theopenid = uni.getStorageSync('openid')
				let theunionid = uni.getStorageSync('unionid')
				console.log("theopenid" + theopenid)
				// uni.showModal({
				// 	title:'openid：'+theopenid+',ssvalue:'+ssvalue,
				// 	showCancel:false
				// })
				uni.request({
					url: Tools.host + '/wshly.ashx',
					method: 'POST',
					data: {
						'lx': 'dongtai_sy',
						'openid': theopenid,
						'unionid': theunionid,
						'sslx': '1',
						'dongtailx': '1'
					},
					success: (res) => {
						console.log('res：' + res.data.data)
						console.log('return_code：' + res.data.return_code)
						if (res.data.return_code == 1) {
							if (res.data.data != null && res.data.data != '') {
								var thejson = JSON.parse(res.data.data);
								this.content = thejson
							} else {
								this.content = []
							}
						} else {

						}
						//成功

					},
					fail: (res) => {
						console.log('失败' + res)
						uni.showModal({
							title: '失败，请稍后重试',
							showCancel: false
						})
					}
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
	.shareBtn {
		display: inline-flex;
		background-color: unset;
		line-height: unset;
	}

	.shareBtn::before {
		all: unset;
	}

	.shareBtn::after {
		all: unset;
	}

	.template-index {
		max-height: 100vh;
	}

	.tn-tabbar-height {
		min-height: 100rpx;
		height: calc(120rpx + env(safe-area-inset-bottom) / 2);
	}


	/* 轮播视觉差 start */
	.card-swiper {
		height: 540rpx !important;
	}

	.card-swiper swiper-item {
		width: 750rpx !important;
		left: 0rpx;
		box-sizing: border-box;
		// padding: 0rpx 30rpx 90rpx 30rpx;
		overflow: initial;
	}

	.card-swiper swiper-item .swiper-item {
		width: 100%;
		display: block;
		height: 100%;
		transform: scale(1);
		transition: all 0.2s ease-in 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper swiper-item.cur .swiper-item {
		transform: none;
		transition: all 0.2s ease-in 0s;
		will-change: transform;
	}

	.card-swiper swiper-item .swiper-item-text {
		margin-top: -320rpx;
		text-align: center;
		width: 100%;
		display: block;
		height: 50%;
		border-radius: 10rpx;
		transform: translate(100rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper swiper-item.cur .swiper-item-text {
		margin-top: -320rpx;
		width: 100%;
		transform: translate(0rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
	}

	.image-banner {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.image-banner image {
		width: 100%;
		height: 100%;
	}

	/* 轮播指示点 start*/
	.indication {
		z-index: 9999;
		width: 100%;
		height: 36rpx;
		position: absolute;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}

	.spot {
		background-color: #FFFFFF;
		opacity: 0.6;
		width: 10rpx;
		height: 10rpx;
		border-radius: 20rpx;
		top: -60rpx;
		margin: 0 8rpx !important;
		position: relative;
	}

	.spot.active {
		opacity: 1;
		width: 30rpx;
		background-color: #FFFFFF;
	}

	/* 简历推荐 start */
	.card-swiper2 {
		height: 420rpx !important;
		overflow: hidden;
	}

	.card-swiper2 swiper-item {
		width: 680rpx !important;
		left: 30rpx;
		box-sizing: border-box;
		overflow: initial;
		padding: 0 0rpx 40rpx 0;
	}

	.card-swiper2 swiper-item .swiper-item1 {
		width: 100%;
		display: block;
		height: 100%;
		transform: scale(0.97);
		transition: all 0.2s ease-in 0s;
		will-change: transform;
		background-color: #E7FAFE;
	}

	.card-swiper2 swiper-item.cur .swiper-item1 {
		transform: none;
		transition: all 0.2s ease-in 0s;
		will-change: transform;
	}

	.card-swiper2 swiper-item .swiper-item2 {
		margin-top: -180rpx;
		width: 100%;
		display: block;
		height: 50%;
		border-radius: 50%;
		transform: translate(510rpx, -160rpx) scale(0.9, 0.9);
		transition: all 0.3s ease 0s;
		will-change: transform;
	}

	.card-swiper2 swiper-item.cur .swiper-item2 {
		margin-top: -180rpx;
		width: 100%;
		transform: translate(510rpx, -150rpx) scale(0.9, 0.9);
		transition: all 0.3s ease 0s;
		will-change: transform;
	}

	.card-swiper2 swiper-item .swiper-item-text {
		margin-top: -270rpx;
		width: 100%;
		display: block;
		height: 100%;
		border-radius: 10rpx;
		transform: translate(30rpx, -20rpx) scale(0.8, 0.8);
		transition: all 0.6s ease 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper2 swiper-item.cur .swiper-item-text {
		margin-top: -270rpx;
		width: 100%;
		transform: translate(20rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
	}



	/* 底部tabbar假阴影 start*/
	.bg-tabbar-shadow {
		background-image: repeating-linear-gradient(to top, rgba(0, 0, 0, 0.1) 10rpx, #FFFFFF, #FFFFFF);
		position: fixed;
		bottom: 0;
		height: 450rpx;
		width: 100vw;
		z-index: -1;
	}

	/* 图标容器12 start */
	.tn-three {
		position: absolute;
		top: 50%;
		right: 50%;
		bottom: 50%;
		left: 50%;
		transform: translate(-38rpx, -20rpx) rotateX(20deg) rotateY(10deg) rotateZ(-20deg);
		text-shadow: -1rpx 2rpx 0 #f0f0f0, -2rpx 4rpx 0 #f0f0f0, -10rpx 20rpx 30rpx rgba(0, 0, 0, 0.2);
	}

	.icon12 {
		&__item {
			width: 30%;
			background-color: #FFFFFF;
			border-radius: 10rpx;
			padding: 30rpx;
			margin: 20rpx 10rpx;
			transform: scale(1);
			transition: transform 0.3s linear;
			transform-origin: center center;

			&--icon {
				width: 100rpx;
				height: 100rpx;
				font-size: 60rpx;
				border-radius: 50%;
				margin-bottom: 18rpx;
				position: relative;
				z-index: 1;

				&::after {
					content: " ";
					position: absolute;
					z-index: -1;
					width: 100%;
					height: 100%;
					left: 0;
					bottom: 0;
					border-radius: inherit;
					opacity: 1;
					transform: scale(1, 1);
					background-size: 100% 100%;
					background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg6.png);


				}
			}
		}
	}

	/* 自定义导航栏内容 start */
	.custom-nav {
		height: 100%;

		&__back {
			margin: auto 5rpx;
			font-size: 40rpx;
			margin-right: 10rpx;
			margin-left: 30rpx;
			flex-basis: 5%;
		}

		&__search {
			flex-basis: 60%;
			width: 100%;
			height: 100%;

			&__box {
				width: 100%;
				height: 70%;
				padding: 10rpx 0;
				margin: 0 30rpx;
				border-radius: 60rpx 60rpx 0 60rpx;
				font-size: 24rpx;
			}

			&__icon {
				padding-right: 10rpx;
				margin-left: 20rpx;
				font-size: 30rpx;
			}

			&__text {
				// color: #AAAAAA;
			}
		}
	}

	.logo-image {
		width: 65rpx;
		height: 65rpx;
		position: relative;

		image {
			width: 100%;
			height: 100%;
			border-radius: 50%;
		}
	}

	.logo-pic {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 50%;
	}

	/* 自定义导航栏内容 end */


	/* 热门图片 start*/
	.image-tuniao1 {
		padding: 165rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-tuniao2 {
		padding: 75rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-tuniao3 {
		padding: 90rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-circle {
		// padding: 95rpx;
		width: 190rpx;
		height: 190rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-pic {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 10rpx;
	}

	/* 胶囊banner*/
	.image-capsule {
		padding: 100rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-piccapsule {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 20rpx 20rpx 0 0;
	}

	/* 标题 start */
	.nav_title {
		-webkit-background-clip: text;
		color: transparent;

		&--wrap {
			position: relative;
			display: flex;
			height: 120rpx;
			font-size: 46rpx;
			align-items: center;
			justify-content: center;
			font-weight: bold;
			background-image: url(https://resource.tuniaokj.com/images/title_bg/title00.png);
			background-size: cover;
		}
	}

	/* 标题 end */

	/* 业务展示 start */
	.tn-info {

		&__container {
			margin-top: 10rpx;
			margin-bottom: 50rpx;
		}

		&__item {
			width: 47.7%;
			margin: 15rpx 0rpx 30rpx 0rpx;
			padding: 40rpx 30rpx;
			border-radius: 10rpx;


			position: relative;
			z-index: 1;

			&::after {
				content: " ";
				position: absolute;
				z-index: -1;
				width: 100%;
				height: 100%;
				left: 0;
				bottom: 0;
				border-radius: inherit;
				opacity: 1;
				transform: scale(1, 1);
				background-size: 100% 100%;
				background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/2.png);
			}

			&__left {

				&--icon {
					width: 80rpx;
					height: 80rpx;
					border-radius: 50%;
					font-size: 40rpx;
					margin-right: 20rpx;
					position: relative;
					z-index: 1;

					&::after {
						content: " ";
						position: absolute;
						z-index: -1;
						width: 100%;
						height: 100%;
						left: 0;
						bottom: 0;
						border-radius: inherit;
						opacity: 1;
						transform: scale(1, 1);
						background-size: 100% 100%;
						background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg5.png);
					}
				}

				&__content {
					font-size: 25rpx;

					&--data {
						color: rgba(255, 255, 255, 0.5);
						margin-top: 5rpx;
						// font-weight: bold;
					}
				}
			}

			&__right {
				&--icon {
					position: absolute;
					right: 0rpx;
					top: 50rpx;
					font-size: 100rpx;
					width: 108rpx;
					height: 108rpx;
					text-align: center;
					line-height: 60rpx;
					opacity: 0.15;
				}
			}

			&__bottom {
				box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(0, 0, 0, 0.12);
				border-radius: 0 0 10rpx 10rpx;
				position: absolute;
				width: 85%;
				line-height: 15rpx;
				left: 50%;
				bottom: -15rpx;
				transform: translateX(-50%);
				z-index: -1;
				text-align: center;
			}
		}
	}

	/* 业务展示 end */

	/* 底部tabbar start*/
	.footerfixed {
		position: fixed;
		width: 100%;
		bottom: 0;
		z-index: 999;
		background-color: #FFFFFF;
		box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(0, 0, 0, 0.07);
	}

	.tabbar {
		display: flex;
		align-items: center;
		min-height: 110rpx;
		justify-content: space-between;
		padding: 0;
		height: calc(110rpx + env(safe-area-inset-bottom) / 2);
		padding-bottom: calc(env(safe-area-inset-bottom) / 2);
	}

	.tabbar .action {
		font-size: 22rpx;
		position: relative;
		flex: 1;
		text-align: center;
		padding: 0;
		display: block;
		height: auto;
		line-height: 1;
		margin: 0;
		overflow: initial;
	}

	.bar-center {
		animation: suspension 3s ease-in-out infinite;
	}

	@keyframes suspension {

		0%,
		100% {
			transform: translateY(0);
		}

		50% {
			transform: translateY(-0.8rem);
		}
	}

	.tabbar .action .bar-icon {
		width: 100rpx;
		position: relative;
		display: block;
		height: auto;
		margin: 0 auto 10rpx;
		text-align: center;
		font-size: 42rpx;
		// line-height: 50rpx;
	}

	.tabbar .action .bar-icon image {
		width: 50rpx;
		height: 50rpx;
		display: inline-block;
	}

	.tabbar .action .bar-circle {
		position: relative;
		display: block;
		margin: 0rpx auto 0rpx;
		text-align: center;
		font-size: 52rpx;
		line-height: 90rpx;
		// background-color: #01BEFF;
		width: 100rpx !important;
		height: 100rpx !important;
		overflow: hidden;
		// border-radius: 50%;
		// box-shadow: 0px 10px 30px rgba(70,23,129, 0.12),
		//   0px -8px 40px rgba(255, 255, 255, 1),
		//   inset 0px -10px 10px rgba(70,23,129, 0.05),
		//   inset 0px 10px 20px rgba(255, 255, 255, 1);
		// box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(1, 190, 255, 0.5);
	}

	.tabbar .action .bar-circle image {
		width: 100rpx;
		height: 100rpx;
		display: inline-block;
		margin: 0rpx auto 0rpx;
	}

	/* 流星+悬浮 */
	.nav-index-button {
		animation: suspension 3s ease-in-out infinite;
		z-index: 999999;


		&__content {
			position: absolute;
			width: 100rpx;
			height: 100rpx;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);

			&--icon {
				width: 100rpx;
				height: 100rpx;
				font-size: 60rpx;
				border-radius: 50%;
				margin-bottom: 18rpx;
				position: relative;
				z-index: 1;
				transform: scale(0.85);

				&::after {
					content: " ";
					position: absolute;
					z-index: -1;
					width: 100%;
					height: 100%;
					left: 0;
					bottom: 0;
					border-radius: inherit;
					opacity: 1;
					transform: scale(1, 1);
					background-size: 100% 100%;
					// background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg6.png);
				}
			}
		}

		&__meteor {
			position: absolute;
			top: 50%;
			left: 50%;
			width: 100rpx;
			height: 100rpx;
			transform-style: preserve-3d;
			transform: translate(-50%, -50%) rotateY(75deg) rotateZ(10deg);

			&__wrapper {
				width: 100rpx;
				height: 100rpx;
				transform-style: preserve-3d;
				animation: spin 20s linear infinite;
			}

			&__item {
				position: absolute;
				width: 100rpx;
				height: 100rpx;
				border-radius: 1000rpx;
				left: 0;
				top: 0;

				&--pic {
					display: block;
					width: 100%;
					height: 100%;
					background: url(https://resource.tuniaokj.com/images/cool_bg_image/arc1.png) no-repeat center center;
					background-size: 100% 100%;
					animation: arc 4s linear infinite;
				}
			}
		}
	}


	@keyframes suspension {

		0%,
		100% {
			transform: translateY(0);
		}

		50% {
			transform: translateY(-0.6rem);
		}
	}

	@keyframes spin {
		0% {
			transform: rotateX(0deg);
		}

		100% {
			transform: rotateX(-360deg);
		}
	}

	@keyframes arc {
		to {
			transform: rotate(360deg);
		}
	}

	/* 文章内容 start*/
	.blogger {
		&__item {
			padding: 30rpx;
		}

		&__author {
			&__btn {
				margin-right: -12rpx;
				opacity: 0.5;
			}
		}

		&__desc {
			line-height: 55rpx;

			&__label {
				padding: 0 20rpx;
				margin: 0rpx 18rpx 0 0;

				&--prefix {
					color: #00FFC8;
					padding-right: 10rpx;
				}
			}

			&__content {}
		}

		&__content {
			margin-top: 18rpx;
			padding-right: 18rpx;

			&__data {
				line-height: 46rpx;
				text-align: justify;
				overflow: hidden;
				transition: all 0.25s ease-in-out;

			}

			&__status {
				margin-top: 10rpx;
				font-size: 26rpx;
				color: #82B2FF;
			}
		}

		&__main-image {
			border-radius: 16rpx;

			&--1 {
				max-width: 80%;
				max-height: 300rpx;
			}

			&--2 {
				max-width: 260rpx;
				max-height: 260rpx;
			}

			&--3 {
				height: 212rpx;
				width: 100%;
			}
		}

		&__count-icon {
			font-size: 40rpx;
			padding-right: 5rpx;
		}

		&__ad {
			width: 100%;
			height: 500rpx;
			transform: translate3d(0px, 0px, 0px) !important;

			::v-deep .uni-swiper-slide-frame {
				transform: translate3d(0px, 0px, 0px) !important;
			}

			.uni-swiper-slide-frame {
				transform: translate3d(0px, 0px, 0px) !important;
			}

			&__item {
				position: absolute;
				width: 100%;
				height: 100%;
				transform-origin: left center;
				transform: translate3d(100%, 0px, 0px) scale(1) !important;
				transition: transform 0.25s ease-in-out;
				z-index: 1;

				&--0 {
					transform: translate3d(0%, 0px, 0px) scale(1) !important;
					z-index: 4;
				}

				&--1 {
					transform: translate3d(13%, 0px, 0px) scale(0.9) !important;
					z-index: 3;
				}

				&--2 {
					transform: translate3d(26%, 0px, 0px) scale(0.8) !important;
					z-index: 2;
				}
			}

			&__content {
				border-radius: 40rpx;
				width: 640rpx;
				height: 500rpx;
				overflow: hidden;
			}

			&__image {
				width: 100%;
				height: 100%;
			}
		}
	}

	/* 文章内容 end*/
</style>